package org.example.design.mediator.test2;

import java.util.Date;

/**
 * @author huangshen
 * @version 0
 * @description ChatRoom
 * @since 2022/2/11 13:52
 */
public class ChatRoom {

    public static void showMessage(User user, String message){
        System.out.println(new Date().toString()
                + " [" + user.getName() +"] : " + message);
    }

}
